.title {
    position: relative;
    text-align: center;
    overflow: hidden;
    font-size: 14px;
    color: #999;
}

.title::before,.title::after {
    content: '';
    display: inline-block;
    width: 100%;
    height: 1px;
    position: absolute;
    background: #ccc;
    top: 50%;
}

.title::before {
    margin-left: -10px;
    transform: translateX(-100%);
}

.title::after {
    margin-left: 10px;
}